package com.capgemini.remind.mapper;

import com.capgemini.remind.pojo.Announcement;
import com.capgemini.core.PageList;
import com.capgemini.remind.pojo.AnnouncementCustomerInfo;

import java.util.List;

public interface AnnouncementMapper {

	int insert(Announcement pojo);

	List<Announcement> queryByDealerNum(String dealerNum);

	int deletePhysicalById(String id);

	List<Announcement> queryPage(final PageList<Announcement> pageList);

	Announcement getById(String id);

	int updateById(Announcement pojo);

	List<AnnouncementCustomerInfo> queryCustomerPage(final PageList<AnnouncementCustomerInfo> pageList);
}